29. Credit for producing fuel from a nonconventional source
(a) Allowance of credit. -- There shall be allowed as a credit against the tax imposed by this chapter for the taxable year an amount equal to --
(1) $3, multiplied by
(2) the barrel-of-oil equivalent of qualified fuels --
(A) sold by the taxpayer to an unrelated person during the taxable year, and
(B) the production of which is attributable to the taxpayer.
(b) Limitations and adjustment. --
(1) Phase out of credit. -- The amount of the credit allowable under subsection (a) shall be reduced by an amount which bears the same ratio to the amount of the credit (determined without regard to this paragraph) as --
(A) the amount by which the reference price for the calendar year in which the sale occurs exceeds $23.50, bears to
(B) $6.
(2) Credit and phase out adjustment based on inflation. -- The $3 amount in subsection (a) and the $23.50 and $6 amounts in paragraph (1) shall each be adjusted by multiplying such amount by the inflation adjustment factor for the calendar year in which the sale occurs. In the case of gas from a tight formation, the $3 amount in subsection (a) shall not be adjusted.
(3) Credit reduced for grants, tax-exempt bonds, and subsidized energy financing. --
(A) In general. -- The amount of the credit allowable under subsection (a) with respect to any project for any taxable year (determined after the application of paragraphs (1) and (2)) shall be reduced by the amount which is the product of the amount so determined for such year and a fraction --
(i) the numerator of which is the sum, for the taxable year and all prior taxable years, of --
(I) grants provided by the United States, a State, or a political subdivision of a state for used in connection with the project,
(II0 proceeds of any issue of State or local government obligations used to provide financing for the project the interest on which is exempt form tax under section 103, and
(III) the aggregate amount of subsidized energy financing (within the meaning of section 48(a)(4)(C)) provided in connection with the project, and
(ii) the den;denominator of which is the aggregate amount of additions to the capital account for the project for the taxable year and all prior taxable years.
(B) Amounts determined at close of year. -- The amounts ;under subparagraph (A) for any taxable year shall be determined as of the close of the taxable year.
(4) Credit reduced for energy credit. -- The amount allowable as a credit under subsection (a) with respect to any project for any taxable year (determined after the application of paragraphs (1), (2), and (3)) shall be reduced by the excess of --
(A) the aggregate amount allowed under section 38 for the taxable year or any prior taxable year by reason of the energy percentage with respect to property used in the project, over
(B) the aggregate amount recaptured with respect to the amount described in subparagraph (A) --
(i) under section 49(b) or 50(a) for the taxable year or any prior taxable year, or
(ii) under this paragraph for any prior taxable year.
The amount recaptured under section 49(b) or 50(a) with respect to any property shall be appropriately reduced to take into account any reduction in the credit allowed by this section by reason of the preceding sentence.
(5) credit reduced for enhanced oil recovery credit. -- The amount allowable as a credit under subsection (a) with respect to any project for any taxable year (determined after application of paragraphs (1), (2), (3), and (4)) shall be reduced by the excess (if any) of --
(A) the aggregate amount allowed under section 38 for the taxable year and any prior taxable year by reason of any enhanced oil recovery credit determined under section 43 with respect to such project, over
(B) the aggregate amount recaptured with respect to the amount described in subparagraph (A) under this paragraph for any prior taxable year.
(6) Application with other credits. -- The credit allowed by subsection (a) for any taxable year shall not exceed the excess (if any) of --
(A) the regular tax for the taxable year reduced by the sum of the credits allowable under subpart A and sections 27 and 28, over
(B) the tentative minimum tax for the taxable year.
(c) Definition of qualified fuels. -- For purposes of this section --
(1) In general. -- The term "qualified fuels" means --
(A) oil produced form shale and tar sands,
(B) gas produced from and --
(i) geopressured brine, Devonian shale, coal seams, or a tight formation, or
(ii) biomass,
(C) liquid, gaseous, or solid synthetic fuels produced form coal (including lignite), including such fuels when used as feed stocks.
(2) Gas form geopressured brine, etc. --
(A) In general. -- Except as provided in subparagraph (B), the determination of whether any gas is produced form geopressured brine, Devonian shale, coal seams, or a tight formation shall be made in accordance with section 503 of the Natural gas Policy Act of 1978.
(B) Special rules for gas from tight formations. -- The term "gas produced from a tight formation" shall only include gas from a tight formation --
(i) which, as of April 20, 1977, was committed or dedicated to interstate commerce (as defined in section 2(18) ;of the Natural Gas Policy Act of1978, as in effect on the date of the enactment of this clause), or
(ii) which is produced form a well drilled after such date ;of enactment.
(3) Biomass. -- The term "biomass" means any organic material other than --
(A) oil and natural gas (or any product thereof), and
(B) coal (including lignite) or any product thereof.
(d) Other definitions and special rules. -- For purposes of this section --
(1) Only production within the United States taken into account. -- Sales shall be taken into account under this section only with respect to qualified fuels the production of which is within --
(A) the United States (within the meaning ;of Section 638(1)),or
(B) a possession of the United States (within the meaning of section 638(2)).
(2) Computation of inflation adjustment factor and reference price. --
(A) In general. -- The Secretary shall, not later than April 1 of each calendar year, determine and publish in the Federal Register the inflations adjustment factor an the reference price for the preceding calendar year in accordance with this paragraph.
(B) Inflation adjustment factor. -- The term "inflation adjustment factor" means, with respect to a calendar year, a fraction the numerator of which is the GNP implicit price deflator for the calendar year and the denominator of which is the GNP implicit price deflator for calendar year 1979. The term "GNP implicit price deflator" means the first revision of the implicit price deflator for the gross national product as computed and published by the Department of Commerce.
(C) Reference Price. -- The term "reference price" means with respect to a calendar year the Secretary's estimate of the annual average wellhead price per barrel for all domestic crude oil the price of which is not subject to regulation by the United States.
(3) Production attributable to the taxpayer. -- In the case of a property or facility in which more than 1 person has an interest, except to the extent provided in regulations prescribed by the Secretary, production from the property or facility (as the case may be) shall be allocated among such persons in proportion to their respective interests in the gross sales from such property or facility.
(4) Gas form geopressured brine, Devonian shale,coal seams,or a tight formation. -- The amount of the credit allowable under subsection (a) shall be determined without regard to any production attributable to a property form with gas form Devonian shale, coal seams, geopressured brine, or a tight formation was produced in marketable quantities before January 1, 1980.
(5) Barrel-of-oil equivalent. -- The term "barrel-of-oil equivalent" with respect to any fuel means that amount of such fuel which has a Btu content of 5.8 million; except that in the case of qualified fuels describe din subparag